import './styles/index.scss'
// import 'element-plus/dist/index.css' // 在vite.config.js中配置了自动引入对应的css，所以不用全局引入了
import 'element-plus/theme-chalk/dark/css-vars.css'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import { createPinia } from 'pinia'
import { createApp } from 'vue'
import myLibs from './libs'
import 'virtual:svg-icons-register'
import i18n from '@/i18n'

import App from './App.vue'
import router from './router'
import './permission'
const app = createApp(App)
const store = createPinia().use(piniaPluginPersistedstate)
app.use(store).use(router).use(myLibs).use(i18n).mount('#app')
